package com.ruoyi.system.domain.biz;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 会员消费明细对象 bm_amount_detail_record
 * 
 * @author ruoyi
 * @date 2022-11-18
 */
public class BmAmountDetailRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 账号 */
    @Excel(name = "账号")
    private String account;

    /** 消费金额 */
    @Excel(name = "消费金额")
    private Long costed;

    private Long mcosted;

    private Long wcosted;


    private String[] members;

    private String memberName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date activeTime;

    public String[] getMembers() {
        return members;
    }

    public void setMembers(String[] members) {
        this.members = members;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Date getActiveTime() {
        return activeTime;
    }

    public void setActiveTime(Date activeTime) {
        this.activeTime = activeTime;
    }

    public Long getMcosted() {
        return mcosted;
    }

    public void setMcosted(Long mcosted) {
        this.mcosted = mcosted;
    }

    public Long getWcosted() {
        return wcosted;
    }

    public void setWcosted(Long wcosted) {
        this.wcosted = wcosted;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setCosted(Long costed) 
    {
        this.costed = costed;
    }

    public Long getCosted() 
    {
        return costed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("account", getAccount())
            .append("costed", getCosted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
